import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [{
  path: '/',
  alias: '/login',
  // 懒加载
  component: () => import('@/views/login/login.vue')
}]

const router = new VueRouter({
  routes
})
export default router
